{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## CIFAR 10"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "%matplotlib inline\n",
    "%reload_ext autoreload\n",
    "%autoreload 2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "from pathlib import Path"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "from fastai.conv_learner import *\n",
    "PATH = Path(\"data/cifar10/\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [],
   "source": [
    "bs=64\n",
    "sz=32"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "metadata": {},
   "outputs": [],
   "source": [
    "tfms = tfms_from_model(resnet18, sz, aug_tfms=[RandomFlip()], pad=sz//8)\n",
    "data = ImageClassifierData.from_csv(PATH, 'train', PATH/'train.csv', tfms=tfms, bs=bs)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [],
   "source": [
    "learn = ConvLearner.pretrained(resnet18, data)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {},
   "outputs": [],
   "source": [
    "lr=1e-2; wd=1e-5"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "178615044d0445b39b5d41485c8540d6",
       "version_major": 2,
       "version_minor": 0
      },
      "text/html": [
       "<p>Failed to display Jupyter Widget of type <code>HBox</code>.</p>\n",
       "<p>\n",
       "  If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n",
       "  that the widgets JavaScript is still loading. If this message persists, it\n",
       "  likely means that the widgets JavaScript library is either not installed or\n",
       "  not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n",
       "  Widgets Documentation</a> for setup instructions.\n",
       "</p>\n",
       "<p>\n",
       "  If you're reading this message in another frontend (for example, a static\n",
       "  rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n",
       "  it may mean that your frontend doesn't currently support widgets.\n",
       "</p>\n"
      ],
      "text/plain": [
       "HBox(children=(IntProgress(value=0, description='Epoch', max=1), HTML(value='')))"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "                                                                                                                       \r"
     ]
    }
   ],
   "source": [
    "learn.lr_find()\n",
    "learn.sched.plot()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "60c148e603be4d758a07fc2894a4fdf0",
       "version_major": 2,
       "version_minor": 0
      },
      "text/html": [
       "<p>Failed to display Jupyter Widget of type <code>HBox</code>.</p>\n",
       "<p>\n",
       "  If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n",
       "  that the widgets JavaScript is still loading. If this message persists, it\n",
       "  likely means that the widgets JavaScript library is either not installed or\n",
       "  not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n",
       "  Widgets Documentation</a> for setup instructions.\n",
       "</p>\n",
       "<p>\n",
       "  If you're reading this message in another frontend (for example, a static\n",
       "  rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n",
       "  it may mean that your frontend doesn't currently support widgets.\n",
       "</p>\n"
      ],
      "text/plain": [
       "HBox(children=(IntProgress(value=0, description='Epoch', max=2), HTML(value='')))"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "epoch      trn_loss   val_loss   accuracy                                                                              \n",
      "    0      1.249359   1.116181   0.604056  \n",
      "    1      1.215158   1.07421    0.613115                                                                              \n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "[1.0742103, 0.6131150265957447]"
      ]
     },
     "execution_count": 36,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "learn.fit(lr, 1, cycle_len=1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {},
   "outputs": [],
   "source": [
    "lrs = np.array([lr/9,lr/3,lr])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {},
   "outputs": [],
   "source": [
    "learn.unfreeze()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "20f2b140b25e4397a2d798b7ed213512",
       "version_major": 2,
       "version_minor": 0
      },
      "text/html": [
       "<p>Failed to display Jupyter Widget of type <code>HBox</code>.</p>\n",
       "<p>\n",
       "  If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n",
       "  that the widgets JavaScript is still loading. If this message persists, it\n",
       "  likely means that the widgets JavaScript library is either not installed or\n",
       "  not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n",
       "  Widgets Documentation</a> for setup instructions.\n",
       "</p>\n",
       "<p>\n",
       "  If you're reading this message in another frontend (for example, a static\n",
       "  rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n",
       "  it may mean that your frontend doesn't currently support widgets.\n",
       "</p>\n"
      ],
      "text/plain": [
       "HBox(children=(IntProgress(value=0, description='Epoch', max=1), HTML(value='')))"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "                                                                                                                       \r"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYcAAAEOCAYAAABiodtuAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl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PDaOBkj86/CLgs2PbQh0CDckskAfuCy9fVW18MJNZ7/zaB0TABCP5l3tBGYHgz51lMYHhlCNzTXxRcXkLgthH1tn+KmfUHypxzTxOoWUwCNgH9zWxKcJ/EYAN7EoEaRR1wDYE5hxuaD9xmZtHBz44M1jggUNM4Zq8mCX9KDtJunHNvE7gt8omZrQVeIvDl+hYQZWZrgF8T+DL0wmwCE6GsA/4OLAUKW/C5u4EXzWwhkFdv/WvAJUcapIHvAOnBBtwNNDHTmHNuE4GpORMbbgt+/obgdbgGuCO4/rvA981sGYHbUk3FPA5YZmargLuA/+ecqwJmAQ+Y2WrgHQJ/9T8EXGdmSwh80Zc2cbzHgA1AZrB769/5by3tTOCNJj4jHYiG7JZOxcwSnHMlFphDeBlwqnMuu51j+B5Q7Jx7rIX7dwXKnXPOzK4i0Dh9sadBHjuej4CLnXP5fsUg3lObg3Q2r5tZdwINy79u78QQ9DBwRSv2n0ygAdmAAgI9mXxhZikE2l+UGDo41RxERKQRtTmIiEgjSg4iItKIkoOIiDSi5CAiIo0oOYiISCNKDiIi0sj/B/GnSvAJ1C43AAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x23d8eed3710>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "learn.lr_find(lrs/1000)\n",
    "learn.sched.plot()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 40,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "eed5344e189344b0b4b2273634cd54b7",
       "version_major": 2,
       "version_minor": 0
      },
      "text/html": [
       "<p>Failed to display Jupyter Widget of type <code>HBox</code>.</p>\n",
       "<p>\n",
       "  If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n",
       "  that the widgets JavaScript is still loading. If this message persists, it\n",
       "  likely means that the widgets JavaScript library is either not installed or\n",
       "  not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n",
       "  Widgets Documentation</a> for setup instructions.\n",
       "</p>\n",
       "<p>\n",
       "  If you're reading this message in another frontend (for example, a static\n",
       "  rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n",
       "  it may mean that your frontend doesn't currently support widgets.\n",
       "</p>\n"
      ],
      "text/plain": [
       "HBox(children=(IntProgress(value=0, description='Epoch', max=1), HTML(value='')))"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "epoch      trn_loss   val_loss   accuracy                                                                              \n",
      "    0      0.863994   0.792711   0.726479  \n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "[0.7927107, 0.7264793882978723]"
      ]
     },
     "execution_count": 40,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "learn.fit(lrs, 1, cycle_len=1, wds=wd)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "collapsed": true
   },
   "source": [
    "## Simplenet"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {},
   "outputs": [],
   "source": [
    "stats = (np.array([ 0.4914 ,  0.48216,  0.44653]), np.array([ 0.24703,  0.24349,  0.26159]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "metadata": {},
   "outputs": [],
   "source": [
    "tfms = tfms_from_stats(stats, sz, aug_tfms=[RandomFlip()], pad=sz//8)\n",
    "data = ImageClassifierData.from_csv(PATH, 'train', PATH/'train.csv', tfms=tfms, bs=bs)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 109,
   "metadata": {},
   "outputs": [],
   "source": [
    "class SimpleConv(nn.Module):\n",
    "    def __init__(self, ic, oc, ks=3, drop=0.2, bn=True):\n",
    "        super().__init__()\n",
    "        self.conv = nn.Conv2d(ic, oc, ks, padding=(ks-1)//2)\n",
    "        self.bn = nn.BatchNorm2d(oc, momentum=0.05) if bn else None\n",
    "        self.drop = nn.Dropout(drop, inplace=True)\n",
    "        self.act = nn.ReLU(True)\n",
    "        \n",
    "    def forward(self, x):\n",
    "        x = self.conv(x)\n",
    "        if self.bn: x = self.bn(x)\n",
    "        return self.drop(self.act(x))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 110,
   "metadata": {},
   "outputs": [],
   "source": [
    "net = nn.Sequential(\n",
    "    SimpleConv(3, 64),\n",
    "    SimpleConv(64, 128),\n",
    "    SimpleConv(128, 128),\n",
    "    SimpleConv(128, 128),\n",
    "    nn.MaxPool2d(2),\n",
    "    SimpleConv(128, 128),\n",
    "    SimpleConv(128, 128),\n",
    "    SimpleConv(128, 256),\n",
    "    nn.MaxPool2d(2),\n",
    "    SimpleConv(256, 256),\n",
    "    SimpleConv(256, 256),\n",
    "    nn.MaxPool2d(2),\n",
    "    SimpleConv(256, 512),\n",
    "    SimpleConv(512, 2048, ks=1, bn=False),\n",
    "    SimpleConv(2048, 256, ks=1, bn=False),\n",
    "    nn.MaxPool2d(2),\n",
    "    SimpleConv(256, 256, bn=False, drop=0),\n",
    "    nn.MaxPool2d(2),\n",
    "    Flatten(),\n",
    "    nn.Linear(256, 10)\n",
    ")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 111,
   "metadata": {},
   "outputs": [],
   "source": [
    "bm = BasicModel(net.cuda(), name='simplenet')\n",
    "learn = ConvLearner(data, bm)\n",
    "learn.crit = nn.CrossEntropyLoss()\n",
    "learn.opt_fn = optim.Adam\n",
    "learn.unfreeze()\n",
    "learn.metrics=[accuracy]\n",
    "lr = 1e-3\n",
    "wd = 5e-3"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 64,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "6c2e6102551b4bd5bfedb8195031c800",
       "version_major": 2,
       "version_minor": 0
      },
      "text/html": [
       "<p>Failed to display Jupyter Widget of type <code>HBox</code>.</p>\n",
       "<p>\n",
       "  If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n",
       "  that the widgets JavaScript is still loading. If this message persists, it\n",
       "  likely means that the widgets JavaScript library is either not installed or\n",
       "  not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n",
       "  Widgets Documentation</a> for setup instructions.\n",
       "</p>\n",
       "<p>\n",
       "  If you're reading this message in another frontend (for example, a static\n",
       "  rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n",
       "  it may mean that your frontend doesn't currently support widgets.\n",
       "</p>\n"
      ],
      "text/plain": [
       "HBox(children=(IntProgress(value=0, description='Epoch', max=1), HTML(value='')))"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "                                                                                                                       \r"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEOCAYAAABmVAtTAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMS4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvNQv5yAAAIABJREFUeJzt3Xl8VPW9//HXJ5MVEvY9EBYBhcoqrihqtdalVau22oW6tLW21mqr995q++tdvLft7eKtXbwWtbaurVW0dakb11ZQQQFBFFQUZEd2EkKWWT6/P85kiGkCCebkZCbv5+Mxj5w55zvnfL6ZZD7zPd9zvl9zd0RERADyog5AREQ6DyUFERHJUFIQEZEMJQUREclQUhARkQwlBRERyVBSEBGRDCUFERHJUFIQEZEMJQUREcnIjzqAturXr5+PGDEi6jBERLLKokWLtrl7/wOVCy0pmNkw4C5gEJACZrn7zc2UOwn4OVAAbHP3E/e33xEjRrBw4cL2D1hEJIeZ2ZrWlAuzpZAArnX3xWZWBiwys2fcfXlDATPrBdwCnO7ua81sQIjxiIjIAYTWp+Dum9x9cXq5ClgBlDcp9jlgtruvTZfbElY8IiJyYB3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qcB4s8woyj3MrMzdqxqVGQxsbeH1xzaqz93AjxutPze9fB/w02Zeuwz4qZn9N/CYu881swnAJnd/BcDdKyFoVRCM8T+Z4Pc7tpn9nQZMbNSS6knwnqwGtgBDWqiDZDklBelIBvzQ3X/zgZXBRDmnAse6+14z+xvB3NkAte6ebLKfuvTPJC3/Ddc1WrYmP1ujutHyL4Gb3P0v6Vj/rYXX5BHUoWY/+61hX90OpNUDk7n722Z2BHAm8EMze5rgNE9z+/gW8D4wKR1zbTNljKBF9lQz24oJ6iE5SH0K0pGeAi4zs1IAMys3swEE30J3phPCYcAxIR1/HnB+um9hIEFHcWv0BDakly9utL4KKGv0/GmCkTIBSH8Tb2oFMLqF47xIMOQyBOfs56WX5xOcHqLR9g8wsyHAXne/h6AlMRV4ExhiZkemy5SlO857ErQgUsBMgvmFm3oK+JqZFaRfOzbdwoCgZbHfq5QkeykpSIdx96cJTn+8ZGbLgAcJPlSfBPLN7DXgRoIPwTA8RDAZyuvAb4AFwO5WvO7fgD+Z2VxgW6P1jwKfauhoBr4JTEt3zC6nmZnE3P1Ngmk1y5puS7/+0vTvYSZwdXr9NcC3zexlgtNPzcU8AXjZzJYA3wX+093rgQuBX5rZUuAZgm/5twAXm9l8gg/46mb2dzuwHFicvkz1N+xrlZ0MPN7MayQHaOhs6VLMrNTd91gwJ/DLwHR339zBMXwLqHL321tZvhtQ4+5uZhcRdDqfE2qQ+4/neeAcd98ZVQwSHvUpSFfzmJn1IugwvrGjE0La/wKfbkP5Iwg6hg3YRXBlUiTMrD9B/4oSQo5SS0FERDLUpyAiIhlKCiIikqGkICIiGUoKIiKSoaQgIiIZSgoiIpLx/wERVwmAUEreYgAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x23d8e604160>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "#sgd mom\n",
    "learn.lr_find()\n",
    "learn.sched.plot()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 76,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "0118cead54d64daaae42f42517915865",
       "version_major": 2,
       "version_minor": 0
      },
      "text/html": [
       "<p>Failed to display Jupyter Widget of type <code>HBox</code>.</p>\n",
       "<p>\n",
       "  If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n",
       "  that the widgets JavaScript is still loading. If this message persists, it\n",
       "  likely means that the widgets JavaScript library is either not installed or\n",
       "  not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n",
       "  Widgets Documentation</a> for setup instructions.\n",
       "</p>\n",
       "<p>\n",
       "  If you're reading this message in another frontend (for example, a static\n",
       "  rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n",
       "  it may mean that your frontend doesn't currently support widgets.\n",
       "</p>\n"
      ],
      "text/plain": [
       "HBox(children=(IntProgress(value=0, description='Epoch', max=1), HTML(value='')))"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "                                                                                                                       \r"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEOCAYAAABmVAtTAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMS4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvNQv5yAAAIABJREFUeJzt3Xl8XVW5//HPkzlthg5J5yEtLRQKtIWUQQbLIHBBQaWAXkRQECcUcBbUC3p/1wHFK3IRKiioiMigQgXLIAUq0DYtLaUNLaUzndIpQzPnPL8/9k6ahrRNYnbOOcn3/XqdV/aw9tnPWU3Pk7XX3muZuyMiIgKQEu8AREQkcSgpiIhICyUFERFpoaQgIiItlBRERKSFkoKIiLRQUhARkRZKCiIi0kJJQUREWigpi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dHhgMndfZWbHA+cDPzSzZwgu87T3HjcC24ApYcy17ZQxghbZnHb2ZRF8DumF1KcgPWkO8GkzywEws5FmNoTgr9DdYUKYBJwU0fnnAReHfQtDCTqKOyIfeDdcvrLV9kogt9X6MwQjWAIQ/iXeVikw4QDneYVgKGQIrtnPC5dfI7g8RKv9+zGzEUC1u/+BoCVxHPAWMMLMpodlcsOO83yCFkQMuIJgft+25gCfN7P08NjDwxYGBC2Lg96lJMlLSUF6jLs/Q3D541UzWwY8SvCl+g8gzczeAH5A8CUYhccIJil5E7gHmA+Ud+C4W4BHzOxlYEer7U8CH2nuaAa+DBSHHbMraGfGK3d/i2Baydy2+8LjPxXWwxXA9eH2G4CvmNkCgstP7cV8DLDAzJYANwP/7e71wGXAL81sKfAswV/5dwFXmtlrBF/we9t5v3uBFcDi8DbVe9jXKjsD+Hs7x0gvoKGzpU8xsxx3r7Jg7toFwCnuvrWHY7gRqHT3eztYvh9Q4+5uZh8j6HS+KNIgDx7PSwSTxe+OVwwSHfUpSF8z28wGEHQY/6CnE0LoV8AlnSh/PEHHsAF7CO5MigszKyToX1FC6KXUUhARkRbqUxARkRZKCiIi0kJJQUREWigpiIhICyUFERFpoaQgIiIt/j8m8L6TVAR/4wAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x23d8e73a630>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "#adam\n",
    "learn.lr_find()\n",
    "learn.sched.plot()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 112,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "39fb789c3a4645fda163193ed43c1a2f",
       "version_major": 2,
       "version_minor": 0
      },
      "text/html": [
       "<p>Failed to display Jupyter Widget of type <code>HBox</code>.</p>\n",
       "<p>\n",
       "  If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n",
       "  that the widgets JavaScript is still loading. If this message persists, it\n",
       "  likely means that the widgets JavaScript library is either not installed or\n",
       "  not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n",
       "  Widgets Documentation</a> for setup instructions.\n",
       "</p>\n",
       "<p>\n",
       "  If you're reading this message in another frontend (for example, a static\n",
       "  rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n",
       "  it may mean that your frontend doesn't currently support widgets.\n",
       "</p>\n"
      ],
      "text/plain": [
       "HBox(children=(IntProgress(value=0, description='Epoch', max=20), HTML(value='')))"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "epoch      trn_loss   val_loss   accuracy                                                                              \n",
      "    0      1.464019   1.812134   0.324219  \n",
      "    1      1.299797   1.872144   0.301779                                                                              \n",
      "    2      1.152769   1.641428   0.405336                                                                              \n",
      "    3      1.06013    1.531731   0.46875                                                                               \n",
      "    4      1.001071   1.344982   0.546875                                                                              \n",
      "    5      0.957563   1.159598   0.629405                                                                              \n",
      "    6      0.895986   1.152674   0.619265                                                                              \n",
      "    7      0.852257   1.277312   0.607713                                                                              \n",
      "    8      0.844254   1.373495   0.538813                                                                              \n",
      "    9      0.784301   0.972733   0.717586                                                                              \n",
      "    10     0.751162   0.859369   0.741606                                                                              \n",
      "    11     0.735842   0.921104   0.729555                                                                              \n",
      "    12     0.690585   0.966144   0.706034                                                                              \n",
      "    13     0.662635   0.824769   0.759142                                                                              \n",
      "    14     0.626122   0.784435   0.775598                                                                              \n",
      "    15     0.61732    0.772561   0.772689                                                                              \n",
      "    16     0.570246   0.727107   0.785322                                                                              \n",
      "    17     0.526993   0.718699   0.786652                                                                              \n",
      "    18     0.499946   0.645241   0.812916                                                                              \n",
      "    19     0.499634   0.630276   0.816572                                                                              \n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "[0.630276, 0.8165724734042553]"
      ]
     },
     "execution_count": 112,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "learn.fit(lr, 1, wds=wd, cycle_len=20, use_clr=(32,10))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 78,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "7f8e07243c194ada863b64921bf0ada3",
       "version_major": 2,
       "version_minor": 0
      },
      "text/html": [
       "<p>Failed to display Jupyter Widget of type <code>HBox</code>.</p>\n",
       "<p>\n",
       "  If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n",
       "  that the widgets JavaScript is still loading. If this message persists, it\n",
       "  likely means that the widgets JavaScript library is either not installed or\n",
       "  not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n",
       "  Widgets Documentation</a> for setup instructions.\n",
       "</p>\n",
       "<p>\n",
       "  If you're reading this message in another frontend (for example, a static\n",
       "  rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n",
       "  it may mean that your frontend doesn't currently support widgets.\n",
       "</p>\n"
      ],
      "text/plain": [
       "HBox(children=(IntProgress(value=0, description='Epoch', max=5), HTML(value='')))"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "epoch      trn_loss   val_loss   accuracy                                                                              \n",
      "    0      1.603266   2.02473    0.271941  \n",
      "    1      1.326654   1.682021   0.391955                                                                              \n",
      "    2      1.124686   1.564738   0.427776                                                                              \n",
      "    3      0.963391   1.164936   0.603225                                                                              \n",
      "    4      0.82219    1.19409    0.578291                                                                              \n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "[1.1940901, 0.5782912234042553]"
      ]
     },
     "execution_count": 78,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "learn.fit(lr, 1, wds=wd, cycle_len=5, use_clr=(32,10))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 79,
   "metadata": {},
   "outputs": [],
   "source": [
    "learn.save('0')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 104,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "c0051276049a4827b6f5e82a8d4170d6",
       "version_major": 2,
       "version_minor": 0
      },
      "text/html": [
       "<p>Failed to display Jupyter Widget of type <code>HBox</code>.</p>\n",
       "<p>\n",
       "  If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n",
       "  that the widgets JavaScript is still loading. If this message persists, it\n",
       "  likely means that the widgets JavaScript library is either not installed or\n",
       "  not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n",
       "  Widgets Documentation</a> for setup instructions.\n",
       "</p>\n",
       "<p>\n",
       "  If you're reading this message in another frontend (for example, a static\n",
       "  rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n",
       "  it may mean that your frontend doesn't currently support widgets.\n",
       "</p>\n"
      ],
      "text/plain": [
       "HBox(children=(IntProgress(value=0, description='Epoch', max=7), HTML(value='')))"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "epoch      trn_loss   val_loss   accuracy                                                                              \n",
      "    0      0.819311   1.080679   0.636386  \n",
      "    1      0.90712    1.294629   0.547457                                                                              \n",
      "    2      0.717722   0.938504   0.700881                                                                              \n",
      "    3      0.898441   1.263396   0.586187                                                                              \n",
      "    4      0.803364   1.037912   0.666888                                                                              \n",
      "    5      0.668088   0.855235   0.737616                                                                              \n",
      "    6      0.616654   0.754756   0.770778                                                                              \n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "[0.75475585, 0.7707779255319149]"
      ]
     },
     "execution_count": 104,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "learn.fit(lr, 3, cycle_len=1, cycle_mult=2, wds=wd)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 105,
   "metadata": {},
   "outputs": [],
   "source": [
    "learn.save('1')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 106,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "6d693d920dcb482fbd0759c4589348e5",
       "version_major": 2,
       "version_minor": 0
      },
      "text/html": [
       "<p>Failed to display Jupyter Widget of type <code>HBox</code>.</p>\n",
       "<p>\n",
       "  If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n",
       "  that the widgets JavaScript is still loading. If this message persists, it\n",
       "  likely means that the widgets JavaScript library is either not installed or\n",
       "  not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n",
       "  Widgets Documentation</a> for setup instructions.\n",
       "</p>\n",
       "<p>\n",
       "  If you're reading this message in another frontend (for example, a static\n",
       "  rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n",
       "  it may mean that your frontend doesn't currently support widgets.\n",
       "</p>\n"
      ],
      "text/plain": [
       "HBox(children=(IntProgress(value=0, description='Epoch', max=10), HTML(value='')))"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "epoch      trn_loss   val_loss   accuracy                                                                              \n",
      "    0      0.833685   1.148864   0.620928  \n",
      "    1      0.819332   1.212562   0.608627                                                                              \n",
      "    2      0.803363   0.984564   0.697224                                                                              \n",
      "    3      0.790965   1.016013   0.702045                                                                              \n",
      "    4      0.733683   0.902306   0.735622                                                                              \n",
      "    5      0.698549   0.878661   0.732131                                                                              \n",
      "    6      0.648197   0.783731   0.758311                                                                              \n",
      "    7      0.597658   0.738099   0.782912                                                                              \n",
      "    8      0.557584   0.646611   0.80768                                                                               \n",
      "    9      0.507423   0.603345   0.822058                                                                              \n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "[0.60334516, 0.8220578457446809]"
      ]
     },
     "execution_count": 106,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "learn.fit(lr, 1, wds=wd, cycle_len=10, use_clr=(32,10))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 108,
   "metadata": {},
   "outputs": [],
   "source": [
    "learn.save('2')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Fin"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.4"
  },
  "toc": {
   "nav_menu": {
    "height": "266px",
    "width": "252px"
   },
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": "block",
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
